package demo.demo05.test11;

public class Outer {
    private int ID = 10;

    public void out() {
        System.out.println("这是外部类");
    }

    public class inner {
        public void in() {
            System.out.println("这是内部类");
        }

        //获得外部类的私有属性
        public void gitID() {
            System.out.println(ID);
        }
    }
}
